package com.example.orderservice.feign;

import com.example.nacosdemo.dto.ReduceDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "demo", path = "/product/")
public interface ProductClient {


    @PostMapping("reduce")
    Boolean reduce(@RequestBody ReduceDTO dto);


}
